package com.itheima.mapper;

import com.itheima.pojo.LogQueryParam;
import com.itheima.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {

    @Select("SELECT e.name operateEmpName, ol.* from emp e,operate_log ol where e.id = ol.operate_emp_id order by ol.operate_time desc ")
    List<OperateLog> list();
}